/*
 *Description:
 *User:laoHu
 *Created with Intellij IDEA 2025
 *Data:2025.05.26
 *Time:15:43
 */

public class Dog {

    //属性：成员
    public String name;
    public int age;

    //行为
    public  void bark(){//狗的叫声
        System.out.println("汪汪汪");
    }
    public void sleep(){
        System.out.println("睡觉");
    }
}
